/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ControlEscolar.Beans;

/**
 *
 * @author Rodna Marrufo
 */
public class Subject {
    
    private String subjectKey;
    private String subjectName;
    private int SubjectCredits;
    private int subjectTotalHr;
   

    
public Subject(){}
public Subject(String subKey, String subName, int credits, int totalHr){
    this.subjectKey=subKey;
    this.subjectName=subName;
    this.SubjectCredits=credits;
    this.subjectTotalHr=totalHr;
}
    
    /**
     * @return the subjectKey
     */
    public String getSubjectKey() {
        return subjectKey;
    }

    /**
     * @param subjectKey the subjectKey to set
     */
    public void setSubjectKey(String subjectKey) {
        this.subjectKey = subjectKey;
    }

    /**
     * @return the subjectName
     */
    public String getSubjectName() {
        return subjectName;
    }

    /**
     * @param subjectName the subjectName to set
     */
    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    /**
     * @return the SubjectCredits
     */
    public int getSubjectCredits() {
        return SubjectCredits;
    }

    /**
     * @param SubjectCredits the SubjectCredits to set
     */
    public void setSubjectCredits(int SubjectCredits) {
        this.SubjectCredits = SubjectCredits;
    }

    /**
     * @return the subjectTotalHr
     */
    public int getSubjectTotalHr() {
        return subjectTotalHr;
    }

    /**
     * @param subjectTotalHr the subjectTotalHr to set
     */
    public void setSubjectTotalHr(int subjectTotalHr) {
        this.subjectTotalHr = subjectTotalHr;
    }
    @Override
    public String toString(){
    return  "\tSubjectKey = " + getSubjectKey() +
            "\t SubjectName= "+getSubjectName() +
            "\t SubjectCredits= "+getSubjectCredits() +
            "\t SubjectTotalHr= "+getSubjectTotalHr();
    }

}
